const http = uni.$u.http
// export const getBannerList = (params,config = {custom: {auth: true}}) => http.post('/app/validCarouseImageList',params, config)
//轮播图
export const bannerApi = (params, config = {}) => http.post('/api/index/get_banner', params)
//注册
export const registerApi = (params, config = {}) => http.post('/api/index/reg', params)
//登录
export const loginApi = (params, config = {}) => http.post('/api/index/login', params)
// 银行卡列表
export const walletListApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/wallet', params,config)
// 银行卡添加
export const walletAddApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/save_wallet', params,config)
// 银行卡删除
export const walletDelApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/wallet_del', params,config)
// 提现
export const withdrawalApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/withdrawal', params,config)
// 提现列表
export const withdrawalListApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/withdrawal_list', params,config)
//获取个人信息
export const userInfoApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/index', params,config)
// 实名认证信息
export const authinfoApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/authinfo', params,config)
// 实名认证提交
export const authaddApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/authadd', params,config)
// 抢筹股票列表
export const qiangListApi = (params, config = {custom: {auth: true}}) => http.post('/api/qiang/lists', params,config)
// 抢筹股票购买列表
export const qiangOrderListApi = (params, config = {custom: {auth: true}}) => http.post('/api/qiang/orderlist', params,config)
//修改登录密码
export const updataPassApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/update_pass', params,config)
//修改交易密码
export const updateSecurityApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/update_securitypass', params,config)
//修改用户信息
export const updateUserApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/update_user', params,config)
//资金记录-取引
export const priceLogApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/price_log?lang=en', params,config)
//公告列表
export const noticeListApi = (params, config = {custom: {auth: true}}) => http.post('/api/index/notice', params,config)
// 抢筹购买股票
export const qiangAddorderApi = (params, config = {custom: {auth: true}}) => http.post('/api/qiang/addorder', params,config)
// 股票列表
export const stockListApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/lists', params,config)
// 我的股票订单列表
export const stockOrderListApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/orderlist', params,config)
// 取消订单
export const cancelOrderApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/cancel', params,config)
// 卖出订单
export const saleOrderApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/sale', params,config)
// 订单详情
export const orderDetailApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/orderdetail', params,config)
//公告详情
export const noticeDetailApi = (params, config = {custom: {auth: true}}) => http.post('/api/index/noticedetail', params,config)
// 新股列表
export const newStockListApi = (params, config = {custom: {auth: true}}) => http.post('/api/products/get_product_new_lists', params,config)
// 新股申购列表
export const myNewStockListApi = (params, config = {custom: {auth: true}}) => http.post('/api/products/get_product_neworder_lists', params,config)
// 确认认缴
export const renjiaoApi = (params, config = {custom: {auth: true}}) => http.post('/api/products/renjiao', params,config)
// 新股申购
export const newStockBuyApi = (params, config = {custom: {auth: true}}) => http.post('/api/products/shengou', params,config)
// 股票详情
export const stockDetailApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/detail', params,config)
// 实时购买
export const stockRealOrderApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/realorder', params,config)
// 添加删除自选
export const stockAddMyApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/addmy', params,config)
// 买涨买跌
export const addOrderApi = (params, config = {custom: {auth: true}}) => http.post('/api/product/addorder', params,config)
// 实时收益
export const ordersyApi = (params, config = {custom: {auth: true}}) => http.post('/api/user/ordersy', params,config)
// 配置
export const getSettingApi = (params, config = {custom:{}}) => http.post('/api/index/get_setting', params,config)
//获取充值网络
export const getRechargeChannelApi = (params, config = {custom:{auth: true}}) => http.post('/api/index/get_recharge_channel', params,config)
//充值提交
export const rechargeConfirmApi = (params, config = {custom:{auth: true}}) => http.post('/api/user/recharge', params,config)
//获取充值记录
export const rechargeListApi = (params, config = {custom:{auth: true}}) => http.post('/api/user/recharge_list', params,config)
// 隐私协议
export const articleApi = (params, config = {custom:{auth: false}}) => http.post('/api/index/article', params,config)
